package com.area.cth.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CommentGoods implements Serializable {
    private Integer id;

    private Integer commentUser;

    private Integer goodsId;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @TableField(exist = false)
    private User user;

    @TableField(exist = false)
    private Goods goods;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
